package com.gzhu.knowledgeAdmin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gzhu.knowledgeAdmin.entity.UserRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2020-01-12
 */
public interface UserRoleService extends IService<UserRole> {

    void deleteByUserIds(List<Integer> ids);

    void removeByRoleId(String id);

    void removeBatchByRoleIds(List<String> idList);

    String getRoleNameByUserId(Integer userId);
}
